package org.wsff.tools.api.gateway.demo.model;

import lombok.ToString;

import org.wsff.tools.api.gateway.model.BaseResponse;

/**
 * TestResponse
 * @author ryan
 * @version Id: TestResponse.java, v 0.1 2022-02-15 11:28 ryan Exp $$
 */
@ToString(callSuper = true)
public class TestResponse extends BaseResponse {

    private static final long serialVersionUID = 15313747619452725L;

    public static TestResponse success(String message) {
        TestResponse response = new TestResponse();
        response.setSuccess(true);
        response.setMessage(message);
        return response;
    }
}
